extends Node
class_name BaseGUIView

var type_id:String
var viewInstanceId:int = -1

func _open():
	pass

func _close():
	pass

func open():
  # 其他处理
	_open()

func close():
	_close()

func close_self():
	G.get_gui_view_manager().close_view(viewInstanceId)
